package other.nowcoder.easy;

import java.util.Scanner;

/**
 * @author bruin_du
 * @description 因子个数
 * https://www.nowcoder.com/questionTerminal/e8fb8f89f5d147ec92fd8ecfefe89b0d
 * @date 2022/5/28 19:26
 **/
public class DivisorNumber {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while(in.hasNext()){
            int n = in.nextInt();
            int ret = 0;
            for (int i = 2; i <= Math.sqrt(n); i++) {
                if(n % i == 0) {
                    while (n % i == 0) {
                        n /= i;
                    }
                    ret++;
                }
            }
            if(n != 1) ret++;
            System.out.println(ret);
        }
    }
}
